package com.itheima.collectiondemo;

/**
 * @Author 王加鑫
 * @Date 2021/5/13 16:42
 * @Version 1.0
 */
public class QueueTest {
    public static void main(String[] args) {
        MyQueue queue = new MyQueue();
        queue.push("张三");
        queue.push("李四");
        queue.push("王五");
        System.out.println(queue.pop());
        System.out.println(queue.pop());
        System.out.println(queue.pop());
    }
}
